<?php
namespace app\models;

use yii\db\Query;

class Bug extends Query
{

	public static function tableName()
	{
		return '{{%list}}';
	}

	public function getUser()
	{
		echo  "hi man  your ok?";
	}

	public function getList()
	{
		//$query = new Query;
		$data = $this->from('{{%list}}')->one();
		print_r($data);
	}
}